Optimal. Leaf size=159 \[ -\frac {b \sqrt {1-c^2 x^2} \sqrt {1+c^2 x^2}}{2 c^5 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}-\frac {\sqrt {1-c^4 x^4} \left (a+b \text {sech}^{-1}(c x)\right )}{2 c^4}+\frac {b \sqrt {1-c^2 x^2} \tanh ^{-1}\left (\sqrt {1+c^2 x^2}\right )}{2 c^5 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 159, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 8, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {267, 6444, 12,
1266, 862, 52, 65, 214} \begin {gather*} -\frac {\sqrt {1-c^4 x^4} \left (a+b \text {sech}^{-1}(c x)\right )}{2 c^4}-\frac {b \sqrt {1-c^2 x^2} \sqrt {c^2 x^2+1}}{2 c^5 x \sqrt {\frac {1}{c x}-1} \sqrt {\frac {1}{c x}+1}}+\frac {b \sqrt {1-c^2 x^2} \tanh ^{-1}\left (\sqrt {c^2 x^2+1}\right )}{2 c^5 x \sqrt {\frac {1}{c x}-1} \sqrt {\frac {1}{c x}+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 52
Rule 65
Rule 214
Rule 267
Rule 862
Rule 1266
Rule 6444
Rubi steps
\begin {align*} \int \frac {x^3 \left (a+b \text {sech}^{-1}(c x)\right )}{\sqrt {1-c^4 x^4}} \, dx &=-\frac {\sqrt {1-c^4 x^4} \left (a+b \text {sech}^{-1}(c x)\right )}{2 c^4}+\frac {\left (b \sqrt {1-c^2 x^2}\right ) \int -\frac {\sqrt {1-c^4 x^4}}{2 c^4 x \sqrt {1-c^2 x^2}} \, dx}{c \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}\\ &=-\frac {\sqrt {1-c^4 x^4} \left (a+b \text {sech}^{-1}(c x)\right )}{2 c^4}-\frac {\left (b \sqrt {1-c^2 x^2}\right ) \int \frac {\sqrt {1-c^4 x^4}}{x \sqrt {1-c^2 x^2}} \, dx}{2 c^5 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}\\ &=-\frac {\sqrt {1-c^4 x^4} \left (a+b \text {sech}^{-1}(c x)\right )}{2 c^4}-\frac {\left (b \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {\sqrt {1-c^4 x^2}}{x \sqrt {1-c^2 x}} \, dx,x,x^2\right )}{4 c^5 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}\\ &=-\frac {\sqrt {1-c^4 x^4} \left (a+b \text {sech}^{-1}(c x)\right )}{2 c^4}-\frac {\left (b \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {\sqrt {1+c^2 x}}{x} \, dx,x,x^2\right )}{4 c^5 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}\\ &=-\frac {b \sqrt {1-c^2 x^2} \sqrt {1+c^2 x^2}}{2 c^5 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}-\frac {\sqrt {1-c^4 x^4} \left (a+b \text {sech}^{-1}(c x)\right )}{2 c^4}-\frac {\left (b \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {1+c^2 x}} \, dx,x,x^2\right )}{4 c^5 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}\\ &=-\frac {b \sqrt {1-c^2 x^2} \sqrt {1+c^2 x^2}}{2 c^5 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}-\frac {\sqrt {1-c^4 x^4} \left (a+b \text {sech}^{-1}(c x)\right )}{2 c^4}-\frac {\left (b \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {1}{-\frac {1}{c^2}+\frac {x^2}{c^2}} \, dx,x,\sqrt {1+c^2 x^2}\right )}{2 c^7 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}\\ &=-\frac {b \sqrt {1-c^2 x^2} \sqrt {1+c^2 x^2}}{2 c^5 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}-\frac {\sqrt {1-c^4 x^4} \left (a+b \text {sech}^{-1}(c x)\right )}{2 c^4}+\frac {b \sqrt {1-c^2 x^2} \tanh ^{-1}\left (\sqrt {1+c^2 x^2}\right )}{2 c^5 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.22, size = 140, normalized size = 0.88 \begin {gather*} -\frac {a \sqrt {1-c^4 x^4}+\frac {b \sqrt {1-c^4 x^4}}{\sqrt {\frac {1-c x}{1+c x}} (1+c x)}+b \sqrt {1-c^4 x^4} \text {sech}^{-1}(c x)-b \log (x (1-c x))+b \log \left (1-c x-\sqrt {\frac {1-c x}{1+c x}} \sqrt {1-c^4 x^4}\right )}{2 c^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.78, size = 0, normalized size = 0.00 \[\int \frac {x^{3} \left (a +b \,\mathrm {arcsech}\left (c x \right )\right )}{\sqrt {-c^{4} x^{4}+1}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 279 vs.
\(2 (135) = 270\).
time = 0.40, size = 279, normalized size = 1.75 \begin {gather*} \frac {2 \, \sqrt {-c^{4} x^{4} + 1} b c x \sqrt {-\frac {c^{2} x^{2} - 1}{c^{2} x^{2}}} - 2 \, \sqrt {-c^{4} x^{4} + 1} {\left (b c^{2} x^{2} - b\right )} \log \left (\frac {c x \sqrt {-\frac {c^{2} x^{2} - 1}{c^{2} x^{2}}} + 1}{c x}\right ) - {\left (b c^{2} x^{2} - b\right )} \log \left (\frac {c^{2} x^{2} + \sqrt {-c^{4} x^{4} + 1} c x \sqrt {-\frac {c^{2} x^{2} - 1}{c^{2} x^{2}}} - 1}{c^{2} x^{2} - 1}\right ) + {\left (b c^{2} x^{2} - b\right )} \log \left (-\frac {c^{2} x^{2} - \sqrt {-c^{4} x^{4} + 1} c x \sqrt {-\frac {c^{2} x^{2} - 1}{c^{2} x^{2}}} - 1}{c^{2} x^{2} - 1}\right ) - 2 \, \sqrt {-c^{4} x^{4} + 1} {\left (a c^{2} x^{2} - a\right )}}{4 \, {\left (c^{6} x^{2} - c^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{3} \left (a + b \operatorname {asech}{\left (c x \right )}\right )}{\sqrt {- \left (c x - 1\right ) \left (c x + 1\right ) \left (c^{2} x^{2} + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^3\,\left (a+b\,\mathrm {acosh}\left (\frac {1}{c\,x}\right )\right )}{\sqrt {1-c^4\,x^4}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________